#ifndef CLIENT_SEEK_VIEW_H
#define CLIENT_SEEK_VIEW_H

#include "ClientSeekModel.h"
#include "View.h"
#include "Screen.h"
#include "d3dx9.h"
#include "d3d9.h"
#include <string>

const LPCSTR _clientSeekTitle = "Client: Requesting the server";
const int _clientSeekTitleLen = strlen(_clientSeekTitle);

const LPCSTR _clientSeekNews1 = "CONNECTED!";
const int _clientSeekNews1Len = strlen(_clientSeekNews1);

const LPCSTR _clientSeekNews2 = "NOT CONNECTED";
const int _clientSeekNews2Len = strlen(_clientSeekNews2);

const D3DCOLOR _clientSeekTextColor = D3DCOLOR_ARGB(255, 255, 255, 255);

class ClientSeekView: public View
{
  public:
    ClientSeekView(Screen* s, Model* m, LPDIRECT3DDEVICE9 dd3d);
    ~ClientSeekView(void);
    void InitRects(void);

  protected:
    void PreRender(void);
    void PostRender(void);
    void Draw(void);
    void HandleMessage(Message* msg);
  private:
    LPD3DXFONT _font;
    ClientSeekModel* _model;
    RECT _titleRect;
    //make it an array in case I choose to add things
    RECT _newsRect;
};

#endif
